var 品客缤图标 = "#fUI/UIWindow2.img/StagedGachapon/Creature/0/normal/2#";
var 心形图标 = "#fUI/UIWindow2.img/Megaphone/0#";
var one = "#fUI/UIPVP.img/UserRanking/NumRank/Survival/1#";
var two = "#fUI/UIPVP.img/UserRanking/NumRank/Survival/2#";
var three = "#fUI/UIPVP.img/UserRanking/NumRank/Survival/3#";
var 造型卡 = 5153015;
var 美容列表 = [];
var 定制理发价格 = 15000;
var 随机理发价格 = 6000;
var 定制美容价格 = 15000;
var 随机美容价格 = 6000;
var 皮肤染色 = [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 16];
var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(f, e, d) {
    var b = cm.getPlayer().getSkinColor();
    var a = 0;
    if (status == 0 && f == 0) {
        cm.dispose();
        return
    }(f == 1) ? status++ : status--;
    selectionLog[status] = d;
    var c = -1;
    if (status <= c++) {
        cm.dispose()
    } else {
        if (status === c++) {
            cm.神之子更换发型整容染色UI(造型卡, a, 皮肤染色);
            cm.dispose()
        }
    }
};